Use {} not () to group around string assigned to char[]. (#72767, Tomas
authorOwen Taylor <otaylor@redhat.com>
Wed, 27 Feb 2002 23:45:05 +0000 (23:45 +0000)
committerOwen Taylor <otaylor@src.gnome.org>
Wed, 27 Feb 2002 23:45:05 +0000 (23:45 +0000)
Wed Feb 27 18:33:04 2002  Owen Taylor  <otaylor@redhat.com>

* gdk-pixdata.c (gdk_pixdata_to_csource): Use {} not
() to group around string assigned to char[]. (#72767,
Tomas Ögren)

gdk-pixbuf/ChangeLog
gdk-pixbuf/gdk-pixdata.c

index 04754dcd33748fb763fe16570261114fffd52a94..c4783fdd871be8dec3750b70a76e9c565c391901 100644 (file)
@@ -1,3 +1,9 @@
+Wed Feb 27 18:33:04 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * gdk-pixdata.c (gdk_pixdata_to_csource): Use {} not
+       () to group around string assigned to char[]. (#72767,
+       Tomas Ögren)
+
 2002-02-21  Havoc Pennington  <hp@pobox.com>
 
        * gdk-pixbuf-loader.c (gdk_pixbuf_loader_load_module): remove
@@ -1218,7 +1224,7 @@ Wed Jun 21 16:02:48 2000  Owen Taylor  <otaylor@redhat.com>
 2000-06-05     Mathieu Lacage  <mathieu@gnome.org>
 
        * configure.in: add some gtk parameters to the
-       GDK_PIXBUF_LIB²S and GDK_PIXBUG_INCLUDEDIR vars. One more
+       GDK_PIXBUF_LIB²S and GDK_PIXBUG_INCLUDEDIR vars. One more
        fight in my crusade for strange prefix compile...
 
 2000-05-30  Not Zed  <NotZed@HelixCode.com>
@@ -1315,7 +1321,7 @@ Fri May  5 12:16:32 2000  Owen Taylor  <otaylor@redhat.com>
        * gdk-pixbuf/Makefile.am (INCLUDES): Add $(GNOME_CFLAGS).
        Reported by Jens Finke.
 
-2000-04-14 Tomasz K³opczko <kloczek@pld.org.pl>
+2000-04-14 Tomasz K³opczko <kloczek@pld.org.pl>
 
        * gdk-pixbuf/pixops/makefile.am: $(LIBART_CFLAGS) replaced by 
        $(GTK_CFLAGS) - now gdk-pixbuf compiles correctly.
index b5d0835f9ba1b7094291a18a96941beb816f3869..eaff61d28cec5ae8a32b4e44f2575812d39abc58 100644 (file)
@@ -731,7 +731,7 @@ gdk_pixdata_to_csource (GdkPixdata        *pixdata,
              cdata.static_prefix, cdata.const_prefix,
              cdata.dump_gtypes ? "guint8" : "unsigned char",
              name);
-      APPEND (gstring, "( \"\"\n  /* Pixbuf magic (0x%x) */\n  \"",
+      APPEND (gstring, "{ \"\"\n  /* Pixbuf magic (0x%x) */\n  \"",
              GDK_PIXBUF_MAGIC_NUMBER);
       cdata.pos = 3;
       save_uchar (&cdata, *stream++); save_uchar (&cdata, *stream++);
@@ -799,7 +799,7 @@ gdk_pixdata_to_csource (GdkPixdata        *pixdata,
   if (cdata.dump_struct)
     APPEND (gstring, "\",\n};\n\n");
   if (cdata.dump_stream)
-    APPEND (gstring, "\");\n\n");
+    APPEND (gstring, "\"};\n\n");
 
   /* dump RLE decoder for macros
    */